package com.rambler.api.common.vo.qweather.response;

import com.rambler.api.common.vo.qweather.QWeatherRefer;
import com.rambler.api.common.vo.qweather.enums.QWeatherResponseCodeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 和风天气通用响应接口
 */
@Data
@Accessors(chain = true)
@Schema(description = "当前天气响应结果")
public class QWeatherCommonResponse {

    @Schema(description = "响应代码")
    private QWeatherResponseCodeEnum code;

    @Schema(description = "更新时间")
    private String updateTime;

    @Schema(description = "天气详情链接")
    private String fxLink;

    // @Schema(description = "城市列表")
    // private List<QWeatherLocation> location;

    @Schema(description = "数据来源和版权信息")
    private QWeatherRefer refer;

}
